Closing the Current Page
To add a button action that closes the current page:
While in Edit Mode open the Properties dialog box of the Object you wish to assign the action to.
Change to the Action tab.
Select the Close Page action from the Select Action to Add list.
Click Ok.
Note
It is possible to check the ‘abort further actions if not closed’ flag. When a page is closed, first the page’s Exit Page Procedure will be called. If the procedure returns the value –1, the page will not be closed. In this case, if you have set the ‘abort further actions if not closed’ flag, further actions in the action list will not be executed.